package org.jeecg.modules.jxc.basicdata.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.jxc.basicdata.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaorange
 * @since 2021-10-27
 */
public interface IGoodsService extends IService<Goods> {


    IPage<Goods> getGoodsAndType(Page<Goods> page, String key);

    IPage<Goods> treeGetGoods(Page page,Integer goodTypeId);
}
